package com.avetti.commerce.webservices;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.avetti.simplemerce.datatransfer.StorePriceDTO;

public class Items implements Serializable {

    /** Serial number */
    private static final long serialVersionUID = -867311844071747615L;

    /** identifier field */
    private Long itemid;

    /** nullable persistent field */
    private String vendorid;

    /** persistent field */
    private String code = "";

    /** nullable persistent field */
    private String title;

    /** nullable persistent field */
    private String sorthint;

    /** nullable persistent field */
    private double weight = 0;

    /** nullable persistent field */
    private double length = 0;

    /** nullable persistent field */
    private double width = 0;

    /** nullable persistent field */
    private double height = 0;

    /** nullable persistent field */
    private String shortdesc;

    /** nullable persistent field */
    private double price = 0;

    /** nullable persistent field */
    private String longdesc;

    /** persistent field */
    private long catalogid = 0;

    /** nullable persistent field */
    private String shiptype;

    /** persistent field */
    private short taxable = 1;

    /** persistent field */
    private short weighttype = 1;

    /** persistent field */
    private short lengthtype = 1;

    /** nullable persistent field */
    private String longdesc2;

    /** nullable persistent field */
    private String longdesc3;

    /** nullable persistent field */
    private String longdesc4;

    /** nullable persistent field */
    private String longdesc5;

    /** nullable persistent field */
    private Long origcat;

    /** nullable persistent field */
    private String specialdesc;

    /** nullable persistent field */
    private Date modifytime = new Date();

    /** nullable persistent field */
    private String creatorid;

    /** nullable persistent field */
    private String mfgname;

    /** nullable persistent field */
    private String mfgpartno;

    /** nullable persistent field */
    private double cost = 0;

    /** nullable persistent field */
    private Date podate = new Date(-2208970800000L);

    /** nullable persistent field */
    private short prodstate = 0;

    /** persistent field */
    private String preorder = "N";

    /** persistent field */
    private String pubstate = "P";

    /** persistent field */
    private String livepubstate = "NP";

    /** nullable persistent field */
    private Long updatetime;

    private Date pubdate = new Date(-2208970800000L);

    private double listprice = 0;

    private Date startdate = new Date(-2208970800000L);

    private Date enddate = new Date(-2208970800000L);

    private boolean available = true;

    private String keywords;

    private Double itemSetupPrice = new Double(100);

    private int qty = 1;

    private StorePriceDTO ItemPrice = new StorePriceDTO();

    private String metadescription = "";

    private String pagetitle = "";

    private boolean urllocked;

    private String seourl;

    private Short lang;

    private Long approved;

    private Short user1;

    private Short user2;

    private int statuscode=1;

    private int itemtype = 0;
    
    /** item images */
    private String itemimage;
    private String itemimage2;
    private String itemimage3;
    private String itemimage4;
    private String itemimage5;
    
    /** large images */
    private String largeimage;
    private String largeimage2;
    private String largeimage3;
    private String largeimage4;
    private String largeimage5;
    
    /** thumbmail images */
    private String thumbnail;
    private String thumbnail2;
    private String thumbnail3;
    private String thumbnail4;
    private String thumbnail5;
    
    /** smallimage images */
    private String smallimage;
    private String smallimage2;
    private String smallimage3;
    private String smallimage4;
    private String smallimage5;
    
    private long mainitemid;

    @SuppressWarnings("unchecked")
    private List<Properties> properties = new ArrayList();

    /**
     * @return the approved
     */
    public Long getApproved() {
        return approved;
    }

    /**
     * @param approved the approved to set
     */
    public void setApproved(Long approved) {
        this.approved = approved;
    }

    /**
     * @return the available
     */
    public boolean isAvailable() {
        return available;
    }

    /**
     * @param available the available to set
     */
    public void setAvailable(boolean available) {
        this.available = available;
    }

    /**
     * @return the catalogid
     */
    public long getCatalogid() {
        return catalogid;
    }

    /**
     * @param catalogid the catalogid to set
     */
    public void setCatalogid(long catalogid) {
        this.catalogid = catalogid;
    }

    /**
     * @return the code
     */
    public String getCode() {
        return code;
    }

    /**
     * @param code the code to set
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * @return the cost
     */
    public double getCost() {
        return cost;
    }

    /**
     * @param cost the cost to set
     */
    public void setCost(double cost) {
        this.cost = cost;
    }

    /**
     * @return the creatorid
     */
    public String getCreatorid() {
        return creatorid;
    }

    /**
     * @param creatorid the creatorid to set
     */
    public void setCreatorid(String creatorid) {
        this.creatorid = creatorid;
    }

    /**
     * @return the enddate
     */
    public Date getEnddate() {
        return enddate;
    }

    /**
     * @param enddate the enddate to set
     */
    public void setEnddate(Date enddate) {
        this.enddate = enddate;
    }

    /**
     * @return the height
     */
    public double getHeight() {
        return height;
    }

    /**
     * @param height the height to set
     */
    public void setHeight(double height) {
        this.height = height;
    }


    /**
     * @return the itemid
     */
    public Long getItemid() {
        return itemid;
    }

    /**
     * @param itemid the itemid to set
     */
    public void setItemid(Long itemid) {
        this.itemid = itemid;
    }

    /**
     * @return the itemPrice
     */
    public StorePriceDTO getItemPrice() {
        return ItemPrice;
    }

    /**
     * @param itemPrice the itemPrice to set
     */
    public void setItemPrice(StorePriceDTO itemPrice) {
        ItemPrice = itemPrice;
    }

    /**
     * @return the itemSetupPrice
     */
    public Double getItemSetupPrice() {
        return itemSetupPrice;
    }

    /**
     * @param itemSetupPrice the itemSetupPrice to set
     */
    public void setItemSetupPrice(Double itemSetupPrice) {
        this.itemSetupPrice = itemSetupPrice;
    }

    /**
     * @return the itemtype
     */
    public int getItemtype() {
        return itemtype;
    }

    /**
     * @param itemtype the itemtype to set
     */
    public void setItemtype(int itemtype) {
        this.itemtype = itemtype;
    }

    /**
     * @return the keywords
     */
    public String getKeywords() {
        return keywords;
    }

    /**
     * @param keywords the keywords to set
     */
    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    /**
     * @return the lang
     */
    public Short getLang() {
        return lang;
    }

    /**
     * @param lang the lang to set
     */
    public void setLang(Short lang) {
        this.lang = lang;
    }

    /**
     * @return the length
     */
    public double getLength() {
        return length;
    }

    /**
     * @param length the length to set
     */
    public void setLength(double length) {
        this.length = length;
    }

    /**
     * @return the lengthtype
     */
    public short getLengthtype() {
        return lengthtype;
    }

    /**
     * @param lengthtype the lengthtype to set
     */
    public void setLengthtype(short lengthtype) {
        this.lengthtype = lengthtype;
    }

    /**
     * @return the listprice
     */
    public double getListprice() {
        return listprice;
    }

    /**
     * @param listprice the listprice to set
     */
    public void setListprice(double listprice) {
        this.listprice = listprice;
    }

    /**
     * @return the livepubstate
     */
    public String getLivepubstate() {
        return livepubstate;
    }

    /**
     * @param livepubstate the livepubstate to set
     */
    public void setLivepubstate(String livepubstate) {
        this.livepubstate = livepubstate;
    }

    /**
     * @return the longdesc
     */
    public String getLongdesc() {
        return longdesc;
    }

    /**
     * @param longdesc the longdesc to set
     */
    public void setLongdesc(String longdesc) {
        this.longdesc = longdesc;
    }

    /**
     * @return the longdesc2
     */
    public String getLongdesc2() {
        return longdesc2;
    }

    /**
     * @param longdesc2 the longdesc2 to set
     */
    public void setLongdesc2(String longdesc2) {
        this.longdesc2 = longdesc2;
    }

    /**
     * @return the longdesc3
     */
    public String getLongdesc3() {
        return longdesc3;
    }

    /**
     * @param longdesc3 the longdesc3 to set
     */
    public void setLongdesc3(String longdesc3) {
        this.longdesc3 = longdesc3;
    }

    /**
     * @return the longdesc4
     */
    public String getLongdesc4() {
        return longdesc4;
    }

    /**
     * @param longdesc4 the longdesc4 to set
     */
    public void setLongdesc4(String longdesc4) {
        this.longdesc4 = longdesc4;
    }

    /**
     * @return the longdesc5
     */
    public String getLongdesc5() {
        return longdesc5;
    }

    /**
     * @param longdesc5 the longdesc5 to set
     */
    public void setLongdesc5(String longdesc5) {
        this.longdesc5 = longdesc5;
    }

    /**
     * @return the metadescription
     */
    public String getMetadescription() {
        return metadescription;
    }

    /**
     * @param metadescription the metadescription to set
     */
    public void setMetadescription(String metadescription) {
        this.metadescription = metadescription;
    }

    /**
     * @return the mfgname
     */
    public String getMfgname() {
        return mfgname;
    }

    /**
     * @param mfgname the mfgname to set
     */
    public void setMfgname(String mfgname) {
        this.mfgname = mfgname;
    }

    /**
     * @return the mfgpartno
     */
    public String getMfgpartno() {
        return mfgpartno;
    }

    /**
     * @param mfgpartno the mfgpartno to set
     */
    public void setMfgpartno(String mfgpartno) {
        this.mfgpartno = mfgpartno;
    }

    /**
     * @return the modifytime
     */
    public Date getModifytime() {
        return modifytime;
    }

    /**
     * @param modifytime the modifytime to set
     */
    public void setModifytime(Date modifytime) {
        this.modifytime = modifytime;
    }

    /**
     * @return the origcat
     */
    public Long getOrigcat() {
        return origcat;
    }

    /**
     * @param origcat the origcat to set
     */
    public void setOrigcat(Long origcat) {
        this.origcat = origcat;
    }

    /**
     * @return the pagetitle
     */
    public String getPagetitle() {
        return pagetitle;
    }

    /**
     * @param pagetitle the pagetitle to set
     */
    public void setPagetitle(String pagetitle) {
        this.pagetitle = pagetitle;
    }

    /**
     * @return the podate
     */
    public Date getPodate() {
        return podate;
    }

    /**
     * @param podate the podate to set
     */
    public void setPodate(Date podate) {
        this.podate = podate;
    }

    /**
     * @return the preorder
     */
    public String getPreorder() {
        return preorder;
    }

    /**
     * @param preorder the preorder to set
     */
    public void setPreorder(String preorder) {
        this.preorder = preorder;
    }

    /**
     * @return the price
     */
    public double getPrice() {
        return price;
    }

    /**
     * @param price the price to set
     */
    public void setPrice(double price) {
        this.price = price;
    }

    /**
     * @return the prodstate
     */
    public short getProdstate() {
        return prodstate;
    }

    /**
     * @param prodstate the prodstate to set
     */
    public void setProdstate(short prodstate) {
        this.prodstate = prodstate;
    }

    /**
     * @return the properties
     */
    public List<Properties> getProperties() {
        return properties;
    }

    /**
     * @param properties the properties to set
     */
    public void setProperties(List<Properties> properties) {
        this.properties = properties;
    }

    /**
     * @return the pubdate
     */
    public Date getPubdate() {
        return pubdate;
    }

    /**
     * @param pubdate the pubdate to set
     */
    public void setPubdate(Date pubdate) {
        this.pubdate = pubdate;
    }

    /**
     * @return the pubstate
     */
    public String getPubstate() {
        return pubstate;
    }

    /**
     * @param pubstate the pubstate to set
     */
    public void setPubstate(String pubstate) {
        this.pubstate = pubstate;
    }

    /**
     * @return the qty
     */
    public int getQty() {
        return qty;
    }

    /**
     * @param qty the qty to set
     */
    public void setQty(int qty) {
        this.qty = qty;
    }

    /**
     * @return the seourl
     */
    public String getSeourl() {
        return seourl;
    }

    /**
     * @param seourl the seourl to set
     */
    public void setSeourl(String seourl) {
        this.seourl = seourl;
    }

    /**
     * @return the shiptype
     */
    public String getShiptype() {
        return shiptype;
    }

    /**
     * @param shiptype the shiptype to set
     */
    public void setShiptype(String shiptype) {
        this.shiptype = shiptype;
    }

    /**
     * @return the shortdesc
     */
    public String getShortdesc() {
        return shortdesc;
    }

    /**
     * @param shortdesc the shortdesc to set
     */
    public void setShortdesc(String shortdesc) {
        this.shortdesc = shortdesc;
    }

    /**
     * @return the sorthint
     */
    public String getSorthint() {
        return sorthint;
    }

    /**
     * @param sorthint the sorthint to set
     */
    public void setSorthint(String sorthint) {
        this.sorthint = sorthint;
    }

    /**
     * @return the specialdesc
     */
    public String getSpecialdesc() {
        return specialdesc;
    }

    /**
     * @param specialdesc the specialdesc to set
     */
    public void setSpecialdesc(String specialdesc) {
        this.specialdesc = specialdesc;
    }

    /**
     * @return the startdate
     */
    public Date getStartdate() {
        return startdate;
    }

    /**
     * @param startdate the startdate to set
     */
    public void setStartdate(Date startdate) {
        this.startdate = startdate;
    }

    /**
     * @return the statuscode
     */
    public int getStatuscode() {
        return statuscode;
    }

    /**
     * @param statuscode the statuscode to set
     */
    public void setStatuscode(int statuscode) {
        this.statuscode = statuscode;
    }

    /**
     * @return the taxable
     */
    public short getTaxable() {
        return taxable;
    }

    /**
     * @param taxable the taxable to set
     */
    public void setTaxable(short taxable) {
        this.taxable = taxable;
    }

    /**
     * @return the title
     */
    public String getTitle() {
        return title;
    }

    /**
     * @param title the title to set
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * @return the updatetime
     */
    public Long getUpdatetime() {
        return updatetime;
    }

    /**
     * @param updatetime the updatetime to set
     */
    public void setUpdatetime(Long updatetime) {
        this.updatetime = updatetime;
    }

    /**
     * @return the urllocked
     */
    public boolean isUrllocked() {
        return urllocked;
    }

    /**
     * @param urllocked the urllocked to set
     */
    public void setUrllocked(boolean urllocked) {
        this.urllocked = urllocked;
    }

    /**
     * @return the user1
     */
    public Short getUser1() {
        return user1;
    }

    /**
     * @param user1 the user1 to set
     */
    public void setUser1(Short user1) {
        this.user1 = user1;
    }

    /**
     * @return the user2
     */
    public Short getUser2() {
        return user2;
    }

    /**
     * @param user2 the user2 to set
     */
    public void setUser2(Short user2) {
        this.user2 = user2;
    }

    /**
     * @return the vendorid
     */
    public String getVendorid() {
        return vendorid;
    }

    /**
     * @param vendorid the vendorid to set
     */
    public void setVendorid(String vendorid) {
        this.vendorid = vendorid;
    }

    /**
     * @return the weight
     */
    public double getWeight() {
        return weight;
    }

    /**
     * @param weight the weight to set
     */
    public void setWeight(double weight) {
        this.weight = weight;
    }

    /**
     * @return the weighttype
     */
    public short getWeighttype() {
        return weighttype;
    }

    /**
     * @param weighttype the weighttype to set
     */
    public void setWeighttype(short weighttype) {
        this.weighttype = weighttype;
    }

    /**
     * @return the width
     */
    public double getWidth() {
        return width;
    }

    /**
     * @param width the width to set
     */
    public void setWidth(double width) {
        this.width = width;
    }

	public String getItemimage() {
		return itemimage;
	}

	public void setItemimage(String itemimage) {
		this.itemimage = itemimage;
	}

	public String getItemimage2() {
		return itemimage2;
	}

	public void setItemimage2(String itemimage2) {
		this.itemimage2 = itemimage2;
	}

	public String getItemimage3() {
		return itemimage3;
	}

	public void setItemimage3(String itemimage3) {
		this.itemimage3 = itemimage3;
	}

	public String getItemimage4() {
		return itemimage4;
	}

	public void setItemimage4(String itemimage4) {
		this.itemimage4 = itemimage4;
	}

	public String getItemimage5() {
		return itemimage5;
	}

	public void setItemimage5(String itemimage5) {
		this.itemimage5 = itemimage5;
	}

	public String getLargeimage() {
		return largeimage;
	}

	public void setLargeimage(String largeimage) {
		this.largeimage = largeimage;
	}

	public String getLargeimage2() {
		return largeimage2;
	}

	public void setLargeimage2(String largeimage2) {
		this.largeimage2 = largeimage2;
	}

	public String getLargeimage3() {
		return largeimage3;
	}

	public void setLargeimage3(String largeimage3) {
		this.largeimage3 = largeimage3;
	}

	public String getLargeimage4() {
		return largeimage4;
	}

	public void setLargeimage4(String largeimage4) {
		this.largeimage4 = largeimage4;
	}

	public String getLargeimage5() {
		return largeimage5;
	}

	public void setLargeimage5(String largeimage5) {
		this.largeimage5 = largeimage5;
	}

	public String getThumbnail() {
		return thumbnail;
	}

	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}

	public String getThumbnail2() {
		return thumbnail2;
	}

	public void setThumbnail2(String thumbnail2) {
		this.thumbnail2 = thumbnail2;
	}

	public String getThumbnail3() {
		return thumbnail3;
	}

	public void setThumbnail3(String thumbnail3) {
		this.thumbnail3 = thumbnail3;
	}

	public String getThumbnail4() {
		return thumbnail4;
	}

	public void setThumbnail4(String thumbnail4) {
		this.thumbnail4 = thumbnail4;
	}

	public String getThumbnail5() {
		return thumbnail5;
	}

	public void setThumbnail5(String thumbnail5) {
		this.thumbnail5 = thumbnail5;
	}

	public String getSmallimage() {
		return smallimage;
	}

	public void setSmallimage(String smallimage) {
		this.smallimage = smallimage;
	}

	public String getSmallimage2() {
		return smallimage2;
	}

	public void setSmallimage2(String smallimage2) {
		this.smallimage2 = smallimage2;
	}

	public String getSmallimage3() {
		return smallimage3;
	}

	public void setSmallimage3(String smallimage3) {
		this.smallimage3 = smallimage3;
	}

	public String getSmallimage4() {
		return smallimage4;
	}

	public void setSmallimage4(String smallimage4) {
		this.smallimage4 = smallimage4;
	}

	public String getSmallimage5() {
		return smallimage5;
	}

	public void setSmallimage5(String smallimage5) {
		this.smallimage5 = smallimage5;
	}

	public long getMainitemid() {
    	return mainitemid;
    }

	public void setMainitemid(long mainitemid) {
    	this.mainitemid = mainitemid;
    }


    
}